<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="中国移动网上商城,网上营业厅,话费查询,充话费,
    查流量 移动4G手机,移动合约机,移动4G套餐,移动业务办理,积分兑换"/>
    <meta name="description" content="中国移动网上商城为移动客户提供充值交费,
    账单查询,流量、4G套餐、宽带等业务介绍及办理,提供苹果、三星、
    小米等多款正品低价手机在线购买,让您足不出户,享受便捷移动服务！"/>
    <title>Administrators_Base</title>
    <link rel="shortcut icon" href="/favicon.ico"/>
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/index.css">
</head>

<body>
<!--快捷导航模块 start-->
<section class="shortcut">
    <div class="w">
        <div class="fl">
            <!--陈伊凡修改-->
            <ul>
                <li>欢迎来到管理员界面，请给用户最佳的体验 &nbsp;</li>
            </ul>
            <!--陈伊凡修改-->
        </div>
    </div>
</section>
<!--快捷导航模块 end-->
<!--header头部模块start-->
<header class="header w">
    <!--logo模块-->
    <div class="logo">
        <h1>
            <a href="index.html" title="移动营业厅">移动营业厅</a>
        </h1>
    </div>
    <!--search模块 start-->
    <div class="search">
        <input type="search" name=" " id="">
        <button>搜索</button>
    </div>
    <!--search模块 end-->
    <!--二维码模块 start-->
    <div class="download">
        <img src="/images/123.jpg">
        <p>扫一扫，下载app</p>
    </div>
    <!--二维码模块 end-->
</header>
<!--header头部模块end-->
<!--nav模块start-->
<nav class="nav">
    <div class="w">
        <div class="dropdown">
            <div class="dt">您拥有的权限</div>
            <div class="ddd">
                <ul>
                    <li><a href="AdMinistrators_Search.html">用户查询</a></li>
                    <li><a href="Administrators_worker.html">客服查询</a></li>
                    <li><a href="Administrators_package.html">套餐查询</a></li>
                    <li><a href="Administrators_Function_Description.html">功能说明</a></li>
                </ul>
            </div>
        </div>

    </div>
</nav>
<!--nav模块end-->
<!-- 首页专有的模块 main start -->
<div class="w">
    <div class="main">
        <div class="focus">
            <ul>
                <li><img src="upload/112.jpg" alt=""></li>
                <li><img src="upload/113.jpg" alt=""></li>
            </ul>
        </div>

        <div class="Adiminstrators_search">

            <div class="ddd">
                <ul>
                    <li><a href="Administrators_worker_delete.html">< 客服开除</a></li>
                    <li><a href="Administrators_worker_updateSalary.html">< 客服工资管理</a></li>
                    <li><a href="Administrators_users_updateBan.html">< 用户解封</a></li>
                    <li><a href="login.html">< 退出登录</a></li>
                </ul>
            </div>
        </div>

    </div>
</div>
<script>
    const images = ['upload/112.jpg', 'upload/113.jpg']; // 图片数组
    let currentImageIndex = 0; // 当前显示的图片索引

    function showNextImage() {
        currentImageIndex = (currentImageIndex + 1) % images.length; // 循环切换图片索引
        const imageUrl = images[currentImageIndex]; // 获取下一张图片的URL
        const imgElement = document.querySelector('.focus img'); // 获取img元素
        imgElement.src = imageUrl; // 更新图片的src
    }

    // 每隔两秒切换一次图片
    setInterval(showNextImage, 3000);

    // 黄嘉华修改
    document.getElementById('loginLink').addEventListener('click', function () {
        window.location.href = 'login.html';
    });

    document.getElementById('registerLink').addEventListener('click', function () {
        window.location.href = 'register.html';
    })

    document.addEventListener('DOMContentLoaded', function() {
        // 检查URL参数以确定用户是否已成功登录
        const urlParams = new URLSearchParams(window.location.search);
        const loginStatus = urlParams.get('login');
        if (loginStatus === 'success') {
            // 如果登录成功，则修改页面内容
            document.getElementById('loginLink').style.display = 'none'; // 隐藏登录按钮
            document.getElementById('registerLink').style.display = 'none'; // 隐藏注册按钮
            //document.getElementById('clientLink').innerHTML = '<a href="personal.html">个人中心</a>'; // 显示个人中心按钮
        }
    });
    // 黄嘉华修改

</script>

</body>

</html>